package com.zoshine.zzg.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.zoshine.zzg.base.Pagination;
import com.zoshine.zzg.pojo.pojostatus.GoodsStatus;

import java.util.Date;

/**
 * 历史商品详情
 * @author 田沛凌
 * @time 2017年7月6日 下午2:03:09
 */
public class GoodsHistoryDetail extends Pagination{
	private static final long serialVersionUID = 8065214255052868855L;

	/**历史ID*/
    private Long goodsId;
    /**用户ID*/
    private Long userId;
    /**组织ID*/
    private Long orgId;
    /**商品名称*/
    private String goodsName;
    /**商品类型*/
    private Long goodsType;
    /**商品条形码*/
    private String goodsBarCode;
    /**商品市场价*/
    private Integer goodsMarketPrice;
    /**商品销售价*/
    private Integer goodsSellPrice;
    /**商品结算价*/
    private Integer goodsSettlementPrice;
    /**商品规格*/
    private String goodsSpec;
    /**商品单位*/
    private String goodsUnit;
    /**商品图片*/
    private String goodsImg;
    /**商品状态*/
    private Integer goodsStatus;
    /**箱规*/
    private String boxSpec;
    
    public String getGoodsStatusStr(){
    	return GoodsStatus.getDesc(goodsStatus);
    }


    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public Long getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Long goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsBarCode() {
        return goodsBarCode;
    }

    public void setGoodsBarCode(String goodsBarCode) {
        this.goodsBarCode = goodsBarCode == null ? null : goodsBarCode.trim();
    }

    public Integer getGoodsMarketPrice() {
        return goodsMarketPrice;
    }

    public void setGoodsMarketPrice(Integer goodsMarketPrice) {
        this.goodsMarketPrice = goodsMarketPrice;
    }

    public Integer getGoodsSellPrice() {
        return goodsSellPrice;
    }

    public void setGoodsSellPrice(Integer goodsSellPrice) {
        this.goodsSellPrice = goodsSellPrice;
    }

    public Integer getGoodsSettlementPrice() {
        return goodsSettlementPrice;
    }

    public void setGoodsSettlementPrice(Integer goodsSettlementPrice) {
        this.goodsSettlementPrice = goodsSettlementPrice;
    }

    public String getGoodsSpec() {
        return goodsSpec;
    }

    public void setGoodsSpec(String goodsSpec) {
        this.goodsSpec = goodsSpec == null ? null : goodsSpec.trim();
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit == null ? null : goodsUnit.trim();
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg == null ? null : goodsImg.trim();
    }

    public Integer getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(Integer goodsStatus) {
        this.goodsStatus = goodsStatus;
    }



    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getBoxSpec() {
        return boxSpec;
    }

    public void setBoxSpec(String boxSpec) {
        this.boxSpec = boxSpec;
    }
}